import { defineStore } from "pinia"
import aside from "./column"



export const  useAsideStore= defineStore('aside', {
    state() {
        return {
            aside,//目录数据
            defaultActiveId:aside[0].path,//默认打开的目录
            // fromRoutePath:""
        }
    },
    getters: {

    },
    actions: {
        clearAsideLocal(){
            this.defaultActiveId="/reportManagement"
            localStorage.removeItem("aside")
        }

    }

})